package com.dhcc.bpm.modules.log.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 基础产品业务服务地址表
 * </p>
 *
 * @author xiafayu
 * @since 2021-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OPC_BASE_PRDT_BUSINESS")
@ApiModel(value="BasePrdtBusiness对象", description="基础产品业务服务地址表")
public class BasePrdtBusiness implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableField("ID")
    private Long id;

    @ApiModelProperty(value = "产品编码")
    @TableField("PRODUCT_CODE")
    private String productCode;

    @ApiModelProperty(value = "服务地址")
    @TableField("SERVER_ADDRESS")
    private String serverAddress;

    @ApiModelProperty(value = "类型(1:内部，2：外部)")
    @TableField("TYPE")
    private String type;

    @ApiModelProperty(value = "是否生效(1:有效，2：无效)")
    @TableField("STATUS")
    private String status;


}
